<template>
  <div class="home">
    aaaa
    <input type="text" />
  </div>
</template>

<script lang="ts">
import { defineComponent, getCurrentInstance, onMounted } from "vue";

export default defineComponent({
  name: "Index",
  components: {},
  // setup(_, context) {
  //   // const { ctx } = getCurrentInstance();
  //   onMounted(() => {
  //     console.log(context);

  //     // ctx.$http.get("localhost:3000", { a: "12", b: "ds" });
  //   });
  //   return {};
  // },
  mounted() {
    console.log(this);
  },
});
</script>
<style>
.flex {
  display: flex;
}
.router {
  flex: 1;
}
</style>
